#include "MouseMoveEventArgs.h"

namespace input {

	MouseMoveEventArgs::MouseMoveEventArgs( const Mouse& mouse, const Keyboard& keyboard, cmn::Vec2 vector ) :
		MouseEventArgs( mouse, keyboard ),
		m_vector( vector )
	{}

	MouseMoveEventArgs::MouseMoveEventArgs( const MouseMoveEventArgs& other ) :
		MouseEventArgs( other ),
		m_vector( other.m_vector )
	{}

	MouseMoveEventArgs::~MouseMoveEventArgs() {}

	MouseMoveEventArgs& MouseMoveEventArgs::operator=( const MouseMoveEventArgs& other ) {
		if( this == &other ) return *this;

		MouseEventArgs::operator= (other);
		m_vector = other.GetVector();

		return *this;
	}
}
